package com.example.agriculture.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * (OrderForm)实体类
 *
 * @author makejava
 * @since 2022-09-12 23:20:24
 */
public class OrderForm implements Serializable {
    private static final long serialVersionUID = -53010038219663631L;

    private Integer orderId;

    private Date orderTime;

    private Product product;

    private UserInfor userInfor;

    private int count;

    private Float priceTotal;

    private Float princeTotal;

    private String orderstate;

    private String agree;

    @Override
    public String toString() {
        return "OrderForm{" +
                "orderId=" + orderId +
                ", orderTime=" + orderTime +
                ", product=" + product +
                ", userInfor=" + userInfor +
                ", count=" + count +
                ", priceTotal=" + priceTotal +
                ", princeTotal=" + princeTotal +
                ", orderstate='" + orderstate + '\'' +
                ", agree='" + agree + '\'' +
                '}';
    }


    public String getAgree() {
        return agree;
    }

    public void setAgree(String agree) {
        this.agree = agree;
    }

    public String getOrderstate() {
        return orderstate;
    }

    public void setOrderstate(String orderstate) {
        this.orderstate = orderstate;
    }

    public Float getPrinceTotal() {
        return princeTotal;
    }

    public void setPrinceTotal(Float princeTotal) {
        this.princeTotal = princeTotal;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Date getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(Date orderTime) {
        this.orderTime = orderTime;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public UserInfor getUserInfor() {
        return userInfor;
    }

    public void setUserInfor(UserInfor userInfor) {
        this.userInfor = userInfor;
    }

    public Float getPriceTotal() {
        return priceTotal;
    }

    public void setPriceTotal(Float priceTotal) {
        this.priceTotal = priceTotal;
    }

}

